﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using Sustainalytics.BusinessResearchProductStates.Entities.ResearchState;
using System;
using System.Collections.Generic;

namespace Sustainalytics.Entities
{
    public class CriteriaResultOutput
    {
        public ResultIsValid IsValid { get; set; }
        public string Name { get; set; }
        public string StringValue { get; set; }
        public CriteriaTypeEnum CriteriaType { get; set; }
        public Guid FilterCriteriaId { get; set; }
        public Guid FilterCriteriaGroupId { get; set; }
        public string SelectedValueInformation { get; set; }
        public string CompaniesCount { get; set; }
        public int Order { get; set; }
        public string CriteriaEntityField { get; set; }

        [BsonRepresentation(BsonType.String)]
        public List<ResearchProduct> ResearchProducts { get; set; }

        public bool IsTemporary { get; set; }
    }
}
